<template>
	<view class="main">
		<view class="item flex">
			<image src="../../static/head.png"></image>
			<view class="item-info">
				<view>云媒科技</view>
				<textarea placeholder="你好"></textarea>
			</view>
		</view>
		<view class="item flex item2">
			<view class="item-info">
				<view>用户</view>
				<textarea style="background: #2D2D2D;" placeholder="你好"></textarea>
			</view>
			<image src="../../static/head.png"></image>
		</view>
		<view class="bottom flex between">
			<input placeholder="输入..."/>
			<view>发送</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.main {
		padding: 30rpx 30rpx 80rpx;
		font-size: 30rpx;

		.item {
			image {
				width: 80rpx;
				height: 80rpx;
				margin-right: 20rpx;
			}

			textarea {
				background: white;
				padding: 16rpx;
				margin-top: 9rpx;
				height: 166rpx;
				font-size: 24rpx;
				width: 100%;
			}

			.item-info {
				width: 80%;
			}
		}

		.navs {
			.nav-item {
				background: #2D2D2D;
				border-radius: 8rpx;
				text-align: center;
				width: 313rpx;
				padding: 14rpx 0;
				color: white;
				margin-top: 30rpx;
				font-size: 24rpx;

				view:nth-child(1) {
					font-weight: bold;
					font-size: 32rpx;
					margin-bottom: 6rpx;
				}
			}
		}

		.item2 {
			margin-top: 20rpx;
			image {
				margin-left: 20rpx;
				margin-right: 0;
			}

			.item-info {
				text-align: right;
			}

			textarea {
				width: 94%;
				margin-left: auto;
			}
		}
	}
	.bottom{
		position: fixed;
		bottom: 0;
		width: 100%;
		left: 0;
		padding: 9rpx 0;
		background: white;
		input{
			width: 500rpx;
			padding: 14rpx 20rpx;
			border-radius: 36rpx;
			font-size: 24rpx;
			margin-left: 30rpx;
			border: solid 1rpx #707070;
		}
		view{
			font-size: 24rpx;
			color: white;
			background: #333333;
			border-radius: 8rpx;
			margin-right: 30rpx;
			line-height: 71rpx;
			width: 132rpx;
			text-align: center;
		}
	}
</style>